//
//  HDXTextView.h
//  ProjectforHDX
//
//  Created by H.DX on 16/3/7.
//  Copyright © 2016年 H.DX. All rights reserved.
/*
 HDXTextView *l=[[HDXTextView alloc] initWithFrame:CGRectMake(labName.right+10,(contentViews.height-rowHeight*3)/2, contentViews.width-labName.right-20, rowHeight*3)];
 hdxTextView=l;
 
 //  l.layer.borderWidth=0.5;
 // l.layer.borderColor=[UtilCheck hexStringToColor:@"666666" alpha:0.75].CGColor;
 [contentViews addSubview:l];
 l.font=CustomFont(13);
 l.placeholder=@"输入项备注";
 l.placeholderColor=[UtilCheck hexStringToColor:@"ff00ff" alpha:1];
 l.surplusLblPlaceholderSizelen=300;
 l.surplusLblPlaceholder=@"还可输入300字";
 l.surplusLblPlaceholderColor=[UtilCheck hexStringToColor:DefaultTextColor alpha:1];
 l.text=[self.dataDict objectForKey:@"remark"];
 l.editblock^=(NSString *str){
 };
 */



#import <UIKit/UIKit.h>
typedef void(^HDXTextViewBlack) (NSString *str);

@interface HDXTextView : UITextView

@property(nonatomic,strong) NSString *placeholder;

@property(nonatomic,strong) UIColor *placeholderColor;


@property(nonatomic) NSInteger surplusLblPlaceholderSizelen;

@property(nonatomic,strong) NSString *surplusLblPlaceholder;

@property(nonatomic,strong) UIColor *surplusLblPlaceholderColor;

@property(copy,nonatomic) HDXTextViewBlack  editblock;

@property(nonatomic,strong) UIFont *placeholderFont;

@property(nonatomic,strong) RZCustomLable *labtishi;
@end
